package com.jjb.www.http.api;

import com.hjq.http.annotation.HttpIgnore;
import com.hjq.http.config.IRequestApi;

import java.util.List;

/**
 * @author CRG
 * @date :2023/12/25 17:31
 * @description:
 */
public class AetNumberFillInfoV2Api implements IRequestApi {
    @HttpIgnore
    private String pagerId;
    private String exam_type;
    private String top_name;
    //获取第几题
    private String order_number;
    private String show;

    public AetNumberFillInfoV2Api setPagerId(String pagerId) {
        this.pagerId = pagerId;
        return this;
    }

    public AetNumberFillInfoV2Api setExam_type(String exam_type) {
        this.exam_type = exam_type;
        return this;
    }

    public AetNumberFillInfoV2Api setTop_name(String top_name) {
        this.top_name = top_name;
        return this;
    }

    public AetNumberFillInfoV2Api setOrder_number(String order_number) {
        this.order_number = order_number;
        return this;
    }

    public AetNumberFillInfoV2Api setShow(String show) {
        this.show = show;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/question/v2/mechPaper/getNumberFillInfo/"+pagerId;
    }
    public static class Bean{

        private Integer fill_id;
        private Integer paper_id;
        private Integer question_id;
        private Integer question_type;
        private Integer type;
        private Integer order_number;
        private String answer_sort;
        private Integer is_sign;
        private Integer is_answer;
        private String type_test;
        private Integer total_num;
        private String title;
        private String background_title;
        private Object img;
        private List<QuestionAnswerDTO> question_answer;
        private List<QuestionSonListDTO> question_son_list;

        public String getBackground_title() {
            return background_title;
        }

        public void setBackground_title(String background_title) {
            this.background_title = background_title;
        }

        public Integer getFill_id() {
            return fill_id;
        }

        public void setFill_id(Integer fill_id) {
            this.fill_id = fill_id;
        }

        public Integer getPaper_id() {
            return paper_id;
        }

        public void setPaper_id(Integer paper_id) {
            this.paper_id = paper_id;
        }

        public Integer getQuestion_id() {
            return question_id;
        }

        public void setQuestion_id(Integer question_id) {
            this.question_id = question_id;
        }

        public Integer getQuestion_type() {
            return question_type;
        }

        public void setQuestion_type(Integer question_type) {
            this.question_type = question_type;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public Integer getOrder_number() {
            return order_number;
        }

        public void setOrder_number(Integer order_number) {
            this.order_number = order_number;
        }

        public String getAnswer_sort() {
            return answer_sort;
        }

        public void setAnswer_sort(String answer_sort) {
            this.answer_sort = answer_sort;
        }

        public Integer getIs_sign() {
            return is_sign;
        }

        public void setIs_sign(Integer is_sign) {
            this.is_sign = is_sign;
        }

        public Integer getIs_answer() {
            return is_answer;
        }

        public void setIs_answer(Integer is_answer) {
            this.is_answer = is_answer;
        }

        public String getType_test() {
            return type_test;
        }

        public void setType_test(String type_test) {
            this.type_test = type_test;
        }

        public Integer getTotal_num() {
            return total_num;
        }

        public void setTotal_num(Integer total_num) {
            this.total_num = total_num;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public Object getImg() {
            return img;
        }

        public void setImg(Object img) {
            this.img = img;
        }

        public List<QuestionAnswerDTO> getQuestion_answer() {
            return question_answer;
        }

        public void setQuestion_answer(List<QuestionAnswerDTO> question_answer) {
            this.question_answer = question_answer;
        }

        public List<QuestionSonListDTO> getQuestion_son_list() {
            return question_son_list;
        }

        public void setQuestion_son_list(List<QuestionSonListDTO> question_son_list) {
            this.question_son_list = question_son_list;
        }

        public static class QuestionAnswerDTO {
            private String option;
            private Integer sort;
            private Integer type;
            private boolean isSelect;

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            public String getOption() {
                return option;
            }

            public void setOption(String option) {
                this.option = option;
            }

            public Integer getSort() {
                return sort;
            }

            public void setSort(Integer sort) {
                this.sort = sort;
            }

            public Integer getType() {
                return type;
            }

            public void setType(Integer type) {
                this.type = type;
            }
        }

        public static class QuestionSonListDTO {
            private Integer fill_id;
            private Integer paper_id;
            private Integer question_id;
            //试题类型 1单选 2判断 3多选 4综合
            private Integer type;
            private String answer_sort;
            private String title;
            private Object img;
            private List<QuestionAnswerDTO> question_answer;

            public Integer getFill_id() {
                return fill_id;
            }

            public void setFill_id(Integer fill_id) {
                this.fill_id = fill_id;
            }

            public Integer getPaper_id() {
                return paper_id;
            }

            public void setPaper_id(Integer paper_id) {
                this.paper_id = paper_id;
            }

            public Integer getQuestion_id() {
                return question_id;
            }

            public void setQuestion_id(Integer question_id) {
                this.question_id = question_id;
            }

            public Integer getType() {
                return type;
            }

            public void setType(Integer type) {
                this.type = type;
            }

            public String getAnswer_sort() {
                return answer_sort;
            }

            public void setAnswer_sort(String answer_sort) {
                this.answer_sort = answer_sort;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public Object getImg() {
                return img;
            }

            public void setImg(Object img) {
                this.img = img;
            }

            public List<QuestionAnswerDTO> getQuestion_answer() {
                return question_answer;
            }

            public void setQuestion_answer(List<QuestionAnswerDTO> question_answer) {
                this.question_answer = question_answer;
            }

            public static class QuestionAnswerDTO {
                private Integer faposition;
                private String option;
                private Integer sort;
                private Integer type;
                private boolean isSelect;

                public Integer getFaposition() {
                    return faposition;
                }

                public void setFaposition(Integer faposition) {
                    this.faposition = faposition;
                }

                public boolean isSelect() {
                    return isSelect;
                }

                public void setSelect(boolean select) {
                    isSelect = select;
                }

                public String getOption() {
                    return option;
                }

                public void setOption(String option) {
                    this.option = option;
                }

                public Integer getSort() {
                    return sort;
                }

                public void setSort(Integer sort) {
                    this.sort = sort;
                }

                public Integer getType() {
                    return type;
                }

                public void setType(Integer type) {
                    this.type = type;
                }
            }
        }
    }
}
